package com.projectdemo.springbootdemo1.pojo;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @class: Student
 * @author: zhangzw
 * @date: 2024-08-29
 * @description: [类描述]
 */
@Component
@ConfigurationProperties(prefix = "dog")
@Data
@ToString
public class Dog {
    private String name;

    private String age;

    private Map<String,String> map;

    private List<String> list;
}
